﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="ManageUsers.aspx.cs" Inherits="SEBanking.WebForm7" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1>Manger Account</h1>
    <p>

        <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
            DataKeyNames="Acc_ID" DataSourceID="LinqDataSource1" Height="50px" 
            Width="125px" AllowPaging="True">
            <Fields>
                <asp:BoundField DataField="Acc_ID" HeaderText="Acc_ID" ReadOnly="True" 
                    SortExpression="Acc_ID" />
                <asp:BoundField DataField="Acc_Password" HeaderText="Acc_Password" 
                    SortExpression="Acc_Password" />
                <asp:BoundField DataField="Acc_Name" HeaderText="Acc_Name" 
                    SortExpression="Acc_Name" />
                <asp:BoundField DataField="Acc_Mail" HeaderText="Acc_Mail" 
                    SortExpression="Acc_Mail" />
                <asp:BoundField DataField="AccType_ID" HeaderText="AccType_ID" 
                    SortExpression="AccType_ID" />
                <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" 
                    ShowInsertButton="True" />
            </Fields>
        </asp:DetailsView>

</p>
    <p>

        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
            AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
            DataKeyNames="Acc_ID" DataSourceID="LinqDataSource1" ForeColor="#333333" 
            GridLines="Horizontal" Width="100%">
            <RowStyle BackColor="#E3EAEB" />
            <Columns>
                <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
                <asp:BoundField DataField="Acc_ID" HeaderText="Acc_ID" ReadOnly="True" 
                    SortExpression="Acc_ID" />
                <asp:BoundField DataField="Acc_Password" HeaderText="Acc_Password" 
                    SortExpression="Acc_Password" />
                <asp:BoundField DataField="Acc_Name" HeaderText="Acc_Name" 
                    SortExpression="Acc_Name" />
                <asp:BoundField DataField="Acc_Mail" HeaderText="Acc_Mail" 
                    SortExpression="Acc_Mail" />
                <asp:BoundField DataField="AccType_ID" HeaderText="AccType_ID" 
                    SortExpression="AccType_ID" />
            </Columns>
            <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#7C6F57" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
            ContextTypeName="SEBanking.DataClassesSEBankingDataContext" EnableDelete="True" 
            EnableInsert="True" EnableUpdate="True" TableName="SEBanking_Accounts">
        </asp:LinqDataSource>

</p>
</asp:Content>
